<template>
	<view class="box">
		<view class="sss">
			<web-view :src="url"></web-view>
		</view>
	</view>
</template>

<script>
	import {
		myAccount
	} from "../../api/wallet.js"
	export default {
		data() {
			return {
				url: "",
				webviewStyles: {
					progress: {
						color: '#FF3333'
					},
				
				}

			}
		},
		onLoad() {
			this.getmyAccount()
		},
		methods: {
			getmyAccount() {
				myAccount().then(res => {
					this.issd = res.data.sd_is_switch
					if (this.issd == 1) {
						this.url = res.data.sd.url
					}
					console.log(this.isopen, "000")
					console.log(res, "账户")
				})
			},
		},


	}
</script>
<style>
	page {
		background: #E0DDDA;
	}
</style>
<style scoped lang="scss">
	.box {
		width: 750rpx;
		position: absolute;
		
	}

	.sss {
		margin-top: 99px;
	}
</style>